+++ /dev/null
-service git
- {
- disable = no
- env =
- group = git-daemon
- groups = no
- id = git
- instances = 5
- log_on_failure += HOST
- log_on_success += PID HOST DURATION
- max_load = 5
- passenv =
- port = 9418
- protocol = tcp
- server = /usr/bin/git
- server_args = daemon --inetd --verbose --base-path=/home/git/pub/git --interpolated-path=/home/git/srv/git/%H%D --syslog --user-path=pub/git -- /home/git/pub/git
- socket_type = stream
- type = UNLISTED
- user = git-daemon
- wait = no
- }
do sudo gpg --import "$key"
done
}
-rule_xinetd_configure () {
- rule apt_get_install xinetd
- local -; set +f
- for conf in "$tool"/etc/xinetd.d/*
- do conf=${conf#"$tool"/etc/xinetd.d/}
- sudo install -m 660 -o root -g root \
- "$tool"/etc/xinetd.d/"$conf" \
- /etc/xinetd.d/"$conf"
- done
- sudo service xinetd restart
- }
rule_configure () {
rule apt_configure
rule git_configure
rule nginx_configure
rule php5_fpm_configure
rule gitolite_configure
- rule xinetd_configure
}
rule_luks_key_change () {